cd ~/data/
mkdir zip_temp
rm ./data10273/lits_test.zip
for zip in `ls ./data10273/*.zip` ; do unzip -o -d ./zip_temp $zip  ; done 
rm ./data10273 -rf # 不然空间可能不够
mkdir ~/work/liverSeg/data/volume 
mkdir ~/work/liverSeg/data/label
mv ./zip_temp/volume* ~/work/liverSeg/data/volume 
mv ./zip_temp/segmentation* ~/work/liverSeg/data/label
# find ./volume/*.zip | xargs -n1 unzip -d ./volume

cd ~/work/liverSeg/data/
for zip in `ls ./volume/*.zip` ; do unzip -o -d ./volume $zip; done
for zip in `ls ./label/*.zip` ; do  unzip -o -d ./label $zip ; done
rm ./volume/*.zip
rm ./label/*.zip
rm -rf ~/data/zip_temp
# for seg in `ls ./label/`; do gzip $seg; done
# for vol in `ls ./volume/`; do gzip $vol; done
mkdir preprocess
# python ~/work/preprocess.py
# rm -rf ~/data/label/
# rm -rf ~/data/volume/
